package com.bltec.emergency.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResTeam implements Serializable {
    @Id
    private Long id;
    private String name;
    private Long departmentId;
    private Long type;
    private BigDecimal gpsX;
    private BigDecimal gpsY;
    private String eventType;
    private Long strength;
    private String category;
    private String mainEquipment;
    private String phone;
    private Boolean isFullTime;
    private Long createBy;
    private Long updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean enable;
    private static final long serialVersionUID = 1L;
}